<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      * {
        margin: 0;
        padding: 0;
      }
      .container {
        margin: 0 300px 0 200px;
      }
      .main,
      .left,
      .right {
        float: left;
      }
      .main {
        height: 80px;
        width: 100%;
        background-color: yellow;
      }
      .left {
        width: 200px;
        height: 80px;
        background-color: blue;
        margin-left: -100%;
      }
      .right {
        width: 300px;
        height: 80px;
        background-color: pink;
        margin-left: -300px;
      }
      .inner {
        margin: 0 300px 0 200px;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <div class="main">
        <div class="inner">hjgkk</div>
      </div>
      <div class="left">l</div>
      <div class="right">r</div>
    </div>
  </body>
</html>
